<template>
  <yd-ls-layout title="退款需知" :onfoot=false :tolfurl="urls" style="background-color: rgb(255,255,255)">
    <div class="yd-ls-height"></div>
    <yd-ls-content :content="contents.content"></yd-ls-content>
    <yd-backtop></yd-backtop>
  </yd-ls-layout>
</template>

<style>

</style>
<script>
  import ydLsLayout from '../../../components/yd-ls-layout.vue'
  import ydLsContent from '../../../components/yd-ls-content.vue'
  import api from '../../../axios/api'

  export default {
    name: '',
    props: {},
    data() {
      return {
        urls: 'index.html#/refund',
        contents: []
      }
    },
    methods: {},
    mounted() {

      const param_reg = this.$route.query.isreg - 0
      if(param_reg) {
        this.urls = "index.html#/reg"
      }
      console.log(this.$route.query.isreg)
      // 获取服务协议信息
      axios.get('/api/systemmsgdetail', {}).then(m=>
        this.contents = m.data
      );
    },
    components: { ydLsLayout, ydLsContent }


  }
</script>
